<!-- HTML5 sekce pro hlavni obsah stranky -->
      <section id="content">                                 
        <div class="block">
          <header>                         
            <h2>Galerie</h2>
          </header>        
          <!-- HTML5 sekce pro reference -->
          <section class="block-body thumb-hover">
              <ul class="thumbs three">
                <?php foreach ($photo_user as $item): ?>
                <?php $photo_user_info = ORM::factory('user')->where('username', '=', $item->username)->find(); ?>
                <li>                  
                  <a href="<?php echo url::base() ?>photo/view/<?php echo $item->id ?>" title="">
                    <div class="thumb-info"><p><?php echo $photo_user_info->firstname; ?> <?php echo $photo_user_info->lastname; ?></p><strong><?php echo ucfirst($item->title); ?></strong><span class="thumb-info-bottom"><?php echo Helpers_Photovoice::datum($item->date); ?></span><?php if ($item->photo_source->find_all()->count() > 1): ?><span class="thumb-info-set"></span><?php endif ?><span class="thumb-info-zoom"></span></div>
                    <img src="<?php echo url::base() ?>files/users/<?php echo $item->username; ?>/<?php echo $item->thumb; ?>" alt="<?php echo $item->username; ?> - <?php echo $item->title; ?>" />
                  </a>
                </li>
                <?php endforeach ?>
              </ul>
              <?php echo $pagination->render('pagination/floating'); ?>
            <div class="clear-both"></div>                          
          </section>          
        </div>
        <div class="block-bottom"></div>                           	   	
      </section>